<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
	</head>

	<body>
		<form action="${pageContext.request.contextPath }/UserPhoneAjax" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
			<input type="hidden" name="opt" value="addup">
			<div class="pageFormContent" layoutH="0">
				<fieldset>
					<legend>编辑</legend>
					<dl class="nowrap">
						<dt>姓名：</dt>
						<dd><input type="text" name="u_name"></dd>
					</dl>
					<dl class="nowrap">
						<dt>手机号码：</dt>
						<dd><input type="text" name="u_phoneno" class="required digits"></dd>
					</dl>
					<dl class="nowrap">
						<dt>密码：</dt>
						<dd><input type="text" name="u_phonepswd" class="required"></dd>
					</dl>
					<dl class="nowrap">
						<dt>MEID：</dt>
						<dd><input type="text" name="u_phonemeid" ></dd>
					</dl>
					<dl class="nowrap">
						<dt>手机类型：</dt>
						<dd><input type="text" name="u_phonetype" ></dd>
					</dl>
					<dl class="nowrap">
						<dt>公司：</dt>
						<dd><input type="text" name="u_company" ></dd>
					</dl>
					<dl class="nowrap">
						<dt>部门：</dt>
						<dd><select name="dept_id">
							<c:forEach items="${depts }" var="d">
								<option value="${d.id }">${d.d_name }</option>
							</c:forEach>
						</select></dd>
					</dl>
					<dl class="nowrap">
						<dt>备注：</dt>
						<dd><textarea rows="5" cols="80" name="u_remark"></textarea></dd>
					</dl>
				</fieldset>
				<div class="formBar">
					<ul>
						<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
						<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
					</ul>
				</div>
			</div>
		</form>
	</body>

</html>